package com.happly.happlycloud.service;

import com.happly.happlycloud.common.ServerResponse;
import com.happly.happlycloud.vo.CartVo;


public interface ICartService {
    ServerResponse<CartVo> add(Integer userId, Integer productId,Integer tutorId, Integer count);
    ServerResponse<CartVo> update(Integer userId,Integer productId,Integer tutorId,Integer count);
    ServerResponse<CartVo> deleteProduct(Integer userId,String productIds);

    ServerResponse<CartVo> list(Integer userId);
    ServerResponse<CartVo> selectOrUnSelect (Integer userId,Integer productId,Integer checked);
    ServerResponse<Integer> getCartProductCount(Integer userId);
}
